<#macro nav>
<nav class="navbar navbar-default navbar-fixed-top">
    <div class="container-fluid">
        <!-- Brand and toggle get grouped for better mobile display -->
        <div class="navbar-header">
            <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
                <span class="sr-only">Toggle navigation</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </button>
            <a class="navbar-brand" href="#">Brand</a>
        </div>
        <!-- Collect the nav links, forms, and other content for toggling -->
        <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
            <ul class="nav navbar-nav navbar-right nav-col" id="menu">
                <li id='intro'><a  class="active" href="/admin/intro">工作室简介修改</a></li>
                <li id='teacher'><a  href="/admin/teacher">指导老师页面管理</a></li>
                <li id='member'><a  href="/admin/member">成员信息管理</a></li>
                <li id='work'><a  href="/admin/work">作品管理</a></li>
                <li id='contact'><a  href="/admin/contact">联系方式修改</a></li>
                <li  id='sys' class="dropdown">
                    <a href="/admin/user" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">系统管理 <span class="caret"></span></a>
                    <ul class="dropdown-menu">
                        <#if Session["SPRING_SECURITY_CONTEXT"]["authentication"]["authorities"][0]["authority"]=='ROLE_SUPER_ADMIN'>
                        <li ><a href="/admin/user">管理员配置</a></li>
                        <li role="separator" class="divider"></li>
                        </#if>
                        <li><a href="/logout">退出系统</a></li>
                    </ul>
                </li>
            </ul>
        </div><!-- /.navbar-collapse -->
    </div><!-- /.container-fluid -->
</nav>

</#macro>